/* Style for rows in a form. A row element contains a label on
the left and a form element (editable or not) on the right */
.row label,.row input,.row select,.row button,.row a.actionLink,.row a.pageLink, .row span.fixedWidthRadioBox
	{
	margin: 8px 0 0 0;
}

.row {
	margin: 0;
	border: 0;
	padding: 0;
	clear: left;
}

/* A row containing multiple form elements */
p.multi-rows {
	padding: 1em 0 0 0;
	margin: 0;
}

/* A label in a row */
.row label {
	width: 215px;
	text-align: right;
	padding: 2px 15px 0 0;
	margin-right: 10px;
	display: inline-block;
	vertical-align:top;
	font-weight: bold;
	color: #444;
}

.row label.info {
	cursor: help;
}

.row label.mandatory {
	background: right 5px url('../../img/mandatory.png') no-repeat;
}

/* A label associated to an input (for radiobuttons for instance) */
.row span label {
	float: none;
	display: inline;
	width: auto;
	text-align: left;
	font-weight: normal;
	padding: 0 0 0 5px;
	vertical-align:baseline;
}

/* Common style for elements displaying static or editable values */
.row input,.row span.value {
	width: 200px;
}

.row input, .row select,.row span.value {
	font-size: 11px;
	background-color: #fff;
	color: #444;
	font-family: Arial, Helvetica, sans-serif;
}

.row input.checkbox {
	width: auto;
}

.row select.big {
	width: 400px;
	overflow:visible;
}

/* Elements displaying static values in a row */
.row span.value {
	display: inline-block;
	max-width: 250px;
	padding-top: 10px;
	padding-left: 1px;
}

.row span.value .valuesBox { /* Displays a strings list */
	overflow-x: hidden;
	overflow-y: auto;
	display: block;
	max-height: 50px;
	border: 1px solid #eaeaea;
}

.row span.value table {

}

/* Elements displaying editable values in a row */
.row input,.row select {
	border: #cccccc 1px solid;
}

.row select {
	width: 130px;
}

.row select optgroup {
	font-weight: bold;
	font-style: normal;
}

.row input.radio {
	width: auto;
}

/* Rows that must contains several form elements, in a compact way */
.row.compact {
	width:220px;
}

.row.compact label {
	text-align: left;
	margin:2px 0;
}

.row.compact input {
	margin:1px 0;
}

.row input.error,.row select.error {
	/* Form elements with wrong edited value */
	background-color: #f8ece0;
}

/* Error message in a row */
.row span.error {
	padding: 3px 0 0 21px;
	background: url("../../img/error.png") no-repeat left 5px transparent;
	display: block;
	margin-left: 222px;
	width: 300px;
	color:#666;
}

/* Warning message in a row */
.row span.warning {
	padding: 3px 0 0 21px;
	display: block;
	margin-left: 222px;
	width: 300px;
	color:#666;
}

/* Buttons in a row */
.row button {
	display: inline-block;
	margin-top: 15px;
}

.row button.inRow {
	margin-left: 240px;
}

.row span.multiAction button, .row span.multiAction select { /* Several elements in a row */
	margin-right: 5px;
}

.row span.back { /* a button on the left of a form row */
	width: 230px;
	text-align: right;
	padding: 0;
	margin-right: 10px;
	display:inline-block;
}

.row span.back button {
	display: inline;
}

/* Special widgets */
span.slider {
	width: 184px;
	margin: 10px;
	margin-left: 272px;
	display: inline-block;
}

span.from,span.to{
	display: inline-block;
	min-width: 20px;
	text-align:center;
}

span.phoneNb,span.date,span.dateTime,span.interval {
	margin: 0;
	padding: 0;
	border: 0;
}

span.dateTime {
	display:inline-block;
}

span.phoneNb input.cc {
	width: 40px;
	margin-right: 5px;
}

span.phoneNb input.sn {
	width: 150px;
}

span.date span, span.dateTime span,span.interval {
	font-size: 11px;
}

span.date input {
	width: 78px;
}

span.dateTime input {
	width: 110px;
}

span.interval input {
	width: 85px;
}

/* A widget with a list of radio buttons or check boxes  */
span.fixedWidthRadioBox {
	width: 300px;
	max-width: 300px;
	display:inline-block;
}

span.fixedWidthRadioBox span {
	width: 150px;
	display:block;
	float:left;
}

span.fixedWidthRadioBox span input {
	width: auto;
	margin:1px 0;
}

fieldset span.fixedWidthRadioBox {
	width: 200px;
	max-width: 200px;
}

fieldset span.fixedWidthRadioBox span {
	width: 100px;
}

/* Compact form elements */
.compact .row label,.compact .row input,.compact .row select,.compact .row button,
	.compact .row a.actionLink,.compact .row a.pageLink {
	margin: 5px 0 0 0;
}

.compact .row label {
	width: 175px;
	padding: 2px 15px 0 0;
	margin-right: 10px;
}

.compact .row input,.compact .row span.value, .compact .row select {
	width: 178px;
}

.compact .row span.value {
	padding-top: 6px;
}

/* The vertical form elements */
.vform label {
	display:block;
	text-align:left;
	width:100%;
	margin-left:0;
	margin-right:0;
	padding-left:0;
	padding-right:0;
}

.vform select {
	width:100%;
	height:250px;
}

.vform span.error {
	margin-left: 0;
}

.vform select, .vform button.small {
	margin-top:4px;
}

.vform .buttonsMiddleList{
	width:100%;
	margin-top:125px;
}